//
//  LBLoopViewCell.m
//  LBPageControl_Example
//
//  Created by liubo on 2023/6/10.
//  Copyright © 2023 liuboliu. All rights reserved.
//

#import "LBLoopViewCell.h"

@interface LBLoopViewCell ()

@property (nonatomic, strong) UILabel *titleLabel;

@end

@implementation LBLoopViewCell

- (void)setUpUI
{
    [self addSubview:self.titleLabel];
}

- (void)setUpConstraints
{
    
}

- (void)updateWithModel:(id)model
{
    self.titleLabel.text = model;
}

#pragma mark - lazy load

- (UILabel *)titleLabel
{
    if (!_titleLabel) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 200, 50)];
        _titleLabel.textColor = [UIColor blackColor];
        _titleLabel.textAlignment = NSTextAlignmentCenter;
    }
    return _titleLabel;
}

@end
